package org.example.demo1;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class IndexController {
    public String wsClient1(){
        return "wsClient1";
    }

    @GetMapping("ws")
    public String webSocket(){
        return "webSocket";
    }
}
